<?php
require 'global.php';
$keywords = $_GET['keywords'];
if (!$keywords) {
	echo "请输入关键字";
	exit ;
}
//统计关键字
$stat = new _Stat($db, $keywords);
$stat -> start();
//开始抓取
$sf = new searchFactory($db, $mc, $keywords);
//$sf->set_page(PAGE);
//$sf->set_returnCount(10);
//echo aa;
echo $sf -> check_mysql();
exit ;
?>

